var exec = require('child_process').exec,
    filelist = [
        'theia.js',
        'jquery.js',
        'mustache.js',
        'backbone.js',
        'module/model.js',
        'module/collection.js',
        'module/album.js',
        'module/lazyload.js',
        'module/photoList.js',
        'module/slide.js',
        'module/photoApp.js',
        'module/init.js'
    ],
    cat = exec('cat '+filelist.join(' ')+' > Photo_all.js'),
    compiler = exec('java -jar ../compiler/compiler.jar --js=Photo_all.js --js_output_file=Photo_all_min.js');

